home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 32 / CD Expert nº 32.iso / Unreal T / utdemo338.exe / System / UBrowser.u / UBrowserServerList_UBrowserIRCSetupClient_ScriptText.TextBuffer < prev    next >
Unknown  |  1999-09-27  |  4.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 69 49 63 6c 61 73 73 20 |........|iIclass |
|00000010| 55 42 72 6f 77 73 65 72 | 49 52 43 53 65 74 75 70 |UBrowser|IRCSetup|
|00000020| 43 6c 69 65 6e 74 20 65 | 78 70 61 6e 64 73 20 55 |Client e|xpands U|
|00000030| 57 69 6e 64 6f 77 44 69 | 61 6c 6f 67 43 6c 69 65 |WindowDi|alogClie|
|00000040| 6e 74 57 69 6e 64 6f 77 | 3b 0d 0a 0d 0a 76 61 72 |ntWindow|;....var|
|00000050| 20 55 57 69 6e 64 6f 77 | 43 6f 6d 62 6f 43 6f 6e | UWindow|ComboCon|
|00000060| 74 72 6f 6c 20 53 65 72 | 76 65 72 43 6f 6d 62 6f |trol Ser|verCombo|
|00000070| 3b 0d 0a 76 61 72 20 55 | 57 69 6e 64 6f 77 43 6f |;..var U|WindowCo|
|00000080| 6d 62 6f 43 6f 6e 74 72 | 6f 6c 20 43 68 61 6e 6e |mboContr|ol Chann|
|00000090| 65 6c 43 6f 6d 62 6f 3b | 0d 0a 76 61 72 20 55 57 |elCombo;|..var UW|
|000000a0| 69 6e 64 6f 77 53 6d 61 | 6c 6c 42 75 74 74 6f 6e |indowSma|llButton|
|000000b0| 20 43 6f 6e 6e 65 63 74 | 42 75 74 74 6f 6e 3b 0d | Connect|Button;.|
|000000c0| 0a 0d 0a 76 61 72 20 63 | 6f 6e 66 69 67 20 73 74 |...var c|onfig st|
|000000d0| 72 69 6e 67 09 09 49 52 | 43 53 65 72 76 65 72 48 |ring..IR|CServerH|
|000000e0| 69 73 74 6f 72 79 5b 31 | 30 5d 3b 0d 0a 76 61 72 |istory[1|0];..var|
|000000f0| 20 63 6f 6e 66 69 67 20 | 73 74 72 69 6e 67 09 09 | config |string..|
|00000100| 49 52 43 43 68 61 6e 6e | 65 6c 48 69 73 74 6f 72 |IRCChann|elHistor|
|00000110| 79 5b 31 30 5d 3b 0d 0a | 76 61 72 20 63 6f 6e 66 |y[10];..|var conf|
|00000120| 69 67 20 62 6f 6f 6c 09 | 09 09 62 48 61 73 52 65 |ig bool.|..bHasRe|
|00000130| 61 64 57 61 72 6e 69 6e | 67 3b 0d 0a 0d 0a 76 61 |adWarnin|g;....va|
|00000140| 72 20 6c 6f 63 61 6c 69 | 7a 65 64 20 73 74 72 69 |r locali|zed stri|
|00000150| 6e 67 09 53 65 72 76 65 | 72 54 65 78 74 3b 0d 0a |ng.Serve|rText;..|
|00000160| 76 61 72 20 6c 6f 63 61 | 6c 69 7a 65 64 20 73 74 |var loca|lized st|
|00000170| 72 69 6e 67 09 43 68 61 | 6e 6e 65 6c 54 65 78 74 |ring.Cha|nnelText|
|00000180| 3b 0d 0a 76 61 72 20 6c | 6f 63 61 6c 69 7a 65 64 |;..var l|ocalized|
|00000190| 20 73 74 72 69 6e 67 09 | 53 65 72 76 65 72 48 65 | string.|ServerHe|
|000001a0| 6c 70 3b 0d 0a 76 61 72 | 20 6c 6f 63 61 6c 69 7a |lp;..var| localiz|
|000001b0| 65 64 20 73 74 72 69 6e | 67 09 43 68 61 6e 6e 65 |ed strin|g.Channe|
|000001c0| 6c 48 65 6c 70 3b 0d 0a | 0d 0a 76 61 72 20 6c 6f |lHelp;..|..var lo|
|000001d0| 63 61 6c 69 7a 65 64 20 | 73 74 72 69 6e 67 09 43 |calized |string.C|
|000001e0| 6f 6e 6e 65 63 74 54 65 | 78 74 3b 0d 0a 76 61 72 |onnectTe|xt;..var|
|000001f0| 20 6c 6f 63 61 6c 69 7a | 65 64 20 73 74 72 69 6e | localiz|ed strin|
|00000200| 67 09 44 69 73 63 6f 6e | 6e 65 63 74 54 65 78 74 |g.Discon|nectText|
|00000210| 3b 0d 0a 76 61 72 20 6c | 6f 63 61 6c 69 7a 65 64 |;..var l|ocalized|
|00000220| 20 73 74 72 69 6e 67 09 | 43 6f 6e 6e 65 63 74 48 | string.|ConnectH|
|00000230| 65 6c 70 3b 0d 0a 76 61 | 72 20 6c 6f 63 61 6c 69 |elp;..va|r locali|
|00000240| 7a 65 64 20 73 74 72 69 | 6e 67 09 44 69 73 63 6f |zed stri|ng.Disco|
|00000250| 6e 6e 65 63 74 48 65 6c | 70 3b 0d 0a 0d 0a 76 61 |nnectHel|p;....va|
|00000260| 72 20 6c 6f 63 61 6c 69 | 7a 65 64 20 73 74 72 69 |r locali|zed stri|
|00000270| 6e 67 09 57 61 72 6e 69 | 6e 67 54 65 78 74 3b 0d |ng.Warni|ngText;.|
|00000280| 0a 76 61 72 20 6c 6f 63 | 61 6c 69 7a 65 64 20 73 |.var loc|alized s|
|00000290| 74 72 69 6e 67 09 57 61 | 72 6e 69 6e 67 54 69 74 |tring.Wa|rningTit|
|000002a0| 6c 65 3b 0d 0a 0d 0a 76 | 61 72 20 55 57 69 6e 64 |le;....v|ar UWind|
|000002b0| 6f 77 4d 65 73 73 61 67 | 65 42 6f 78 20 43 6f 6e |owMessag|eBox Con|
|000002c0| 66 69 72 6d 4a 6f 69 6e | 3b 0d 0a 76 61 72 20 55 |firmJoin|;..var U|
|000002d0| 42 72 6f 77 73 65 72 49 | 52 43 53 79 73 74 65 6d |BrowserI|RCSystem|
|000002e0| 50 61 67 65 20 53 79 73 | 74 65 6d 50 61 67 65 3b |Page Sys|temPage;|
|000002f0| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 43 72 65 |....func|tion Cre|
|00000300| 61 74 65 64 28 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |ated()..|{...loca|
|00000310| 6c 20 43 6f 6c 6f 72 20 | 54 43 3b 0d 0a 09 6c 6f |l Color |TC;...lo|
|00000320| 63 61 6c 20 69 6e 74 20 | 69 3b 0d 0a 0d 0a 09 53 |cal int |i;.....S|
|00000330| 75 70 65 72 2e 43 72 65 | 61 74 65 64 28 29 3b 0d |uper.Cre|ated();.|
|00000340| 0a 0d 0a 09 53 79 73 74 | 65 6d 50 61 67 65 20 3d |....Syst|emPage =|
|00000350| 20 55 42 72 6f 77 73 65 | 72 49 52 43 53 79 73 74 | UBrowse|rIRCSyst|
|00000360| 65 6d 50 61 67 65 28 4f | 77 6e 65 72 57 69 6e 64 |emPage(O|wnerWind|
|00000370| 6f 77 29 3b 0d 0a 0d 0a | 09 53 65 72 76 65 72 43 |ow);....|.ServerC|
|00000380| 6f 6d 62 6f 20 3d 20 55 | 57 69 6e 64 6f 77 43 6f |ombo = U|WindowCo|
|00000390| 6d 62 6f 43 6f 6e 74 72 | 6f 6c 28 43 72 65 61 74 |mboContr|ol(Creat|
|000003a0| 65 43 6f 6e 74 72 6f 6c | 28 63 6c 61 73 73 27 55 |eControl|(class'U|
|000003b0| 57 69 6e 64 6f 77 43 6f | 6d 62 6f 43 6f 6e 74 72 |WindowCo|mboContr|
|000003c0| 6f 6c 27 2c 20 31 30 2c | 20 35 2c 20 32 35 30 2c |ol', 10,| 5, 250,|
|000003d0| 20 31 29 29 3b 0d 0a 09 | 53 65 72 76 65 72 43 6f | 1));...|ServerCo|
|000003e0| 6d 62 6f 2e 45 64 69 74 | 42 6f 78 57 69 64 74 68 |mbo.Edit|BoxWidth|
|000003f0| 20 3d 20 31 36 30 3b 0d | 0a 09 53 65 72 76 65 72 | = 160;.|..Server|
|00000400| 43 6f 6d 62 6f 2e 53 65 | 74 54 65 78 74 28 53 65 |Combo.Se|tText(Se|
|00000410| 72 76 65 72 54 65 78 74 | 29 3b 0d 0a 09 53 65 72 |rverText|);...Ser|
|00000420| 76 65 72 43 6f 6d 62 6f | 2e 53 65 74 48 65 6c 70 |verCombo|.SetHelp|
|00000430| 54 65 78 74 28 53 65 72 | 76 65 72 48 65 6c 70 29 |Text(Ser|verHelp)|
|00000440| 3b 0d 0a 09 53 65 72 76 | 65 72 43 6f 6d 62 6f 2e |;...Serv|erCombo.|
|00000450| 53 65 74 46 6f 6e 74 28 | 46 5f 4e 6f 72 6d 61 6c |SetFont(|F_Normal|
|00000460| 29 3b 0d 0a 09 53 65 72 | 76 65 72 43 6f 6d 62 6f |);...Ser|verCombo|
|00000470| 2e 53 65 74 45 64 69 74 | 61 62 6c 65 28 54 72 75 |.SetEdit|able(Tru|
|00000480| 65 29 3b 0d 0a 09 66 6f | 72 20 28 69 3d 30 3b 20 |e);...fo|r (i=0; |
|00000490| 69 3c 31 30 3b 20 69 2b | 2b 29 0d 0a 09 09 69 66 |i<10; i+|+)....if|
|000004a0| 20 28 49 52 43 53 65 72 | 76 65 72 48 69 73 74 6f | (IRCSer|verHisto|
|000004b0| 72 79 5b 69 5d 20 21 3d | 20 22 22 29 0d 0a 09 09 |ry[i] !=| "")....|
|000004c0| 09 53 65 72 76 65 72 43 | 6f 6d 62 6f 2e 41 64 64 |.ServerC|ombo.Add|
|000004d0| 49 74 65 6d 28 49 52 43 | 53 65 72 76 65 72 48 69 |Item(IRC|ServerHi|
|000004e0| 73 74 6f 72 79 5b 69 5d | 29 3b 0d 0a 0d 0a 09 54 |story[i]|);.....T|
|000004f0| 43 2e 52 20 3d 20 32 35 | 35 3b 0d 0a 09 54 43 2e |C.R = 25|5;...TC.|
|00000500| 47 20 3d 20 32 35 35 3b | 0d 0a 09 54 43 2e 42 20 |G = 255;|...TC.B |
|00000510| 3d 20 32 35 35 3b 0d 0a | 09 53 65 72 76 65 72 43 |= 255;..|.ServerC|
|00000520| 6f 6d 62 6f 2e 53 65 74 | 54 65 78 74 43 6f 6c 6f |ombo.Set|TextColo|
|00000530| 72 28 54 43 29 3b 0d 0a | 09 53 65 72 76 65 72 43 |r(TC);..|.ServerC|
|00000540| 6f 6d 62 6f 2e 53 65 74 | 53 65 6c 65 63 74 65 64 |ombo.Set|Selected|
|00000550| 49 6e 64 65 78 28 30 29 | 3b 0d 0a 0d 0a 09 43 68 |Index(0)|;.....Ch|
|00000560| 61 6e 6e 65 6c 43 6f 6d | 62 6f 20 3d 20 55 57 69 |annelCom|bo = UWi|
|00000570| 6e 64 6f 77 43 6f 6d 62 | 6f 43 6f 6e 74 72 6f 6c |ndowComb|oControl|
|00000580| 28 43 72 65 61 74 65 43 | 6f 6e 74 72 6f 6c 28 63 |(CreateC|ontrol(c|
|00000590| 6c 61 73 73 27 55 57 69 | 6e 64 6f 77 43 6f 6d 62 |lass'UWi|ndowComb|
|000005a0| 6f 43 6f 6e 74 72 6f 6c | 27 2c 20 31 30 2c 20 32 |oControl|', 10, 2|
|000005b0| 35 2c 20 31 38 30 2c 20 | 31 29 29 3b 0d 0a 09 43 |5, 180, |1));...C|
|000005c0| 68 61 6e 6e 65 6c 43 6f | 6d 62 6f 2e 45 64 69 74 |hannelCo|mbo.Edit|
|000005d0| 42 6f 78 57 69 64 74 68 | 20 3d 20 39 30 3b 0d 0a |BoxWidth| = 90;..|
|000005e0| 09 43 68 61 6e 6e 65 6c | 43 6f 6d 62 6f 2e 53 65 |.Channel|Combo.Se|
|000005f0| 74 54 65 78 74 28 43 68 | 61 6e 6e 65 6c 54 65 78 |tText(Ch|annelTex|
|00000600| 74 29 3b 0d 0a 09 43 68 | 61 6e 6e 65 6c 43 6f 6d |t);...Ch|annelCom|
|00000610| 62 6f 2e 53 65 74 48 65 | 6c 70 54 65 78 74 28 43 |bo.SetHe|lpText(C|
|00000620| 68 61 6e 6e 65 6c 48 65 | 6c 70 29 3b 0d 0a 09 43 |hannelHe|lp);...C|
|00000630| 68 61 6e 6e 65 6c 43 6f | 6d 62 6f 2e 53 65 74 46 |hannelCo|mbo.SetF|
|00000640| 6f 6e 74 28 46 5f 4e 6f | 72 6d 61 6c 29 3b 0d 0a |ont(F_No|rmal);..|
|00000650| 09 43 68 61 6e 6e 65 6c | 43 6f 6d 62 6f 2e 53 65 |.Channel|Combo.Se|
|00000660| 74 45 64 69 74 61 62 6c | 65 28 54 72 75 65 29 3b |tEditabl|e(True);|
|00000670| 0d 0a 09 66 6f 72 20 28 | 69 3d 30 3b 20 69 3c 31 |...for (|i=0; i<1|
|00000680| 30 3b 20 69 2b 2b 29 0d | 0a 09 09 69 66 20 28 49 |0; i++).|...if (I|
|00000690| 52 43 43 68 61 6e 6e 65 | 6c 48 69 73 74 6f 72 79 |RCChanne|lHistory|
|000006a0| 5b 69 5d 20 21 3d 20 22 | 22 29 0d 0a 09 09 09 43 |[i] != "|").....C|
|000006b0| 68 61 6e 6e 65 6c 43 6f | 6d 62 6f 2e 41 64 64 49 |hannelCo|mbo.AddI|
|000006c0| 74 65 6d 28 49 52 43 43 | 68 61 6e 6e 65 6c 48 69 |tem(IRCC|hannelHi|
|000006d0| 73 74 6f 72 79 5b 69 5d | 29 3b 0d 0a 09 43 68 61 |story[i]|);...Cha|
|000006e0| 6e 6e 65 6c 43 6f 6d 62 | 6f 2e 53 65 74 53 65 6c |nnelComb|o.SetSel|
|000006f0| 65 63 74 65 64 49 6e 64 | 65 78 28 30 29 3b 0d 0a |ectedInd|ex(0);..|
|00000700| 09 43 68 61 6e 6e 65 6c | 43 6f 6d 62 6f 2e 53 65 |.Channel|Combo.Se|
|00000710| 74 54 65 78 74 43 6f 6c | 6f 72 28 54 43 29 3b 0d |tTextCol|or(TC);.|
|00000720| 0a 0d 0a 09 43 6f 6e 6e | 65 63 74 42 75 74 74 6f |....Conn|ectButto|
|00000730| 6e 20 3d 20 55 57 69 6e | 64 6f 77 53 6d 61 6c 6c |n = UWin|dowSmall|
|00000740| 42 75 74 74 6f 6e 28 43 | 72 65 61 74 65 43 6f 6e |Button(C|reateCon|
|00000750| 74 72 6f 6c 28 63 6c 61 | 73 73 27 55 57 69 6e 64 |trol(cla|ss'UWind|
|00000760| 6f 77 53 6d 61 6c 6c 42 | 75 74 74 6f 6e 27 2c 20 |owSmallB|utton', |
|00000770| 31 39 36 2c 20 32 36 2c | 20 36 34 2c 20 31 36 29 |196, 26,| 64, 16)|
|00000780| 29 3b 0d 0a 09 43 6f 6e | 6e 65 63 74 42 75 74 74 |);...Con|nectButt|
|00000790| 6f 6e 2e 62 49 67 6e 6f | 72 65 4c 44 6f 75 62 6c |on.bIgno|reLDoubl|
|000007a0| 65 63 6c 69 63 6b 20 3d | 20 54 72 75 65 3b 0d 0a |eclick =| True;..|
|000007b0| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 42 65 |}....fun|ction Be|
|000007c0| 66 6f 72 65 50 61 69 6e | 74 28 43 61 6e 76 61 73 |forePain|t(Canvas|
|000007d0| 20 43 2c 20 66 6c 6f 61 | 74 20 58 2c 20 66 6c 6f | C, floa|t X, flo|
|000007e0| 61 74 20 59 29 0d 0a 7b | 0d 0a 09 53 75 70 65 72 |at Y)..{|...Super|
|000007f0| 2e 42 65 66 6f 72 65 50 | 61 69 6e 74 28 43 2c 20 |.BeforeP|aint(C, |
|00000800| 58 2c 20 59 29 3b 0d 0a | 0d 0a 09 69 66 28 53 79 |X, Y);..|...if(Sy|
|00000810| 73 74 65 6d 50 61 67 65 | 2e 62 43 6f 6e 6e 65 63 |stemPage|.bConnec|
|00000820| 74 65 64 29 0d 0a 09 7b | 0d 0a 09 09 43 6f 6e 6e |ted)...{|....Conn|
|00000830| 65 63 74 42 75 74 74 6f | 6e 2e 53 65 74 54 65 78 |ectButto|n.SetTex|
|00000840| 74 28 44 69 73 63 6f 6e | 6e 65 63 74 54 65 78 74 |t(Discon|nectText|
|00000850| 29 3b 0d 0a 09 09 43 6f | 6e 6e 65 63 74 42 75 74 |);....Co|nnectBut|
|00000860| 74 6f 6e 2e 53 65 74 48 | 65 6c 70 54 65 78 74 28 |ton.SetH|elpText(|
|00000870| 44 69 73 63 6f 6e 6e 65 | 63 74 48 65 6c 70 29 3b |Disconne|ctHelp);|
|00000880| 0d 0a 09 7d 0d 0a 09 65 | 6c 73 65 0d 0a 09 7b 0d |...}...e|lse...{.|
|00000890| 0a 09 09 43 6f 6e 6e 65 | 63 74 42 75 74 74 6f 6e |...Conne|ctButton|
|000008a0| 2e 53 65 74 54 65 78 74 | 28 43 6f 6e 6e 65 63 74 |.SetText|(Connect|
|000008b0| 54 65 78 74 29 3b 0d 0a | 09 09 43 6f 6e 6e 65 63 |Text);..|..Connec|
|000008c0| 74 42 75 74 74 6f 6e 2e | 53 65 74 48 65 6c 70 54 |tButton.|SetHelpT|
|000008d0| 65 78 74 28 43 6f 6e 6e | 65 63 74 48 65 6c 70 29 |ext(Conn|ectHelp)|
|000008e0| 3b 0d 0a 09 7d 0d 0a 0d | 0a 09 43 6f 6e 6e 65 63 |;...}...|..Connec|
|000008f0| 74 42 75 74 74 6f 6e 2e | 41 75 74 6f 57 69 64 74 |tButton.|AutoWidt|
|00000900| 68 28 43 29 3b 0d 0a 0d | 0a 7d 0d 0a 0d 0a 66 75 |h(C);...|.}....fu|
|00000910| 6e 63 74 69 6f 6e 20 50 | 61 69 6e 74 28 43 61 6e |nction P|aint(Can|
|00000920| 76 61 73 20 43 2c 20 66 | 6c 6f 61 74 20 58 2c 20 |vas C, f|loat X, |
|00000930| 66 6c 6f 61 74 20 59 29 | 0d 0a 7b 0d 0a 09 44 72 |float Y)|..{...Dr|
|00000940| 61 77 53 74 72 65 74 63 | 68 65 64 54 65 78 74 75 |awStretc|hedTextu|
|00000950| 72 65 28 43 2c 20 30 2c | 20 30 2c 20 57 69 6e 57 |re(C, 0,| 0, WinW|
|00000960| 69 64 74 68 2c 20 57 69 | 6e 48 65 69 67 68 74 2c |idth, Wi|nHeight,|
|00000970| 20 54 65 78 74 75 72 65 | 27 42 6c 61 63 6b 54 65 | Texture|'BlackTe|
|00000980| 78 74 75 72 65 27 29 3b | 0d 0a 7d 0d 0a 0d 0a 66 |xture');|..}....f|
|00000990| 75 6e 63 74 69 6f 6e 20 | 44 6f 4a 6f 69 6e 28 29 |unction |DoJoin()|
|000009a0| 0d 0a 7b 0d 0a 09 53 79 | 73 74 65 6d 50 61 67 65 |..{...Sy|stemPage|
|000009b0| 2e 53 65 72 76 65 72 20 | 3d 20 53 65 72 76 65 72 |.Server |= Server|
|000009c0| 43 6f 6d 62 6f 2e 47 65 | 74 56 61 6c 75 65 28 29 |Combo.Ge|tValue()|
|000009d0| 3b 0d 0a 09 53 79 73 74 | 65 6d 50 61 67 65 2e 44 |;...Syst|emPage.D|
|000009e0| 65 66 61 75 6c 74 43 68 | 61 6e 6e 65 6c 20 3d 20 |efaultCh|annel = |
|000009f0| 43 68 61 6e 6e 65 6c 43 | 6f 6d 62 6f 2e 47 65 74 |ChannelC|ombo.Get|
|00000a00| 56 61 6c 75 65 28 29 3b | 0d 0a 09 53 79 73 74 65 |Value();|...Syste|
|00000a10| 6d 50 61 67 65 2e 43 6f | 6e 6e 65 63 74 28 29 3b |mPage.Co|nnect();|
|00000a20| 0d 0a 0d 0a 09 53 61 76 | 65 53 65 72 76 65 72 43 |.....Sav|eServerC|
|00000a30| 6f 6d 62 6f 28 29 3b 0d | 0a 09 53 61 76 65 43 68 |ombo();.|..SaveCh|
|00000a40| 61 6e 6e 65 6c 43 6f 6d | 62 6f 28 29 3b 0d 0a 09 |annelCom|bo();...|
|00000a50| 53 61 76 65 43 6f 6e 66 | 69 67 28 29 3b 0d 0a 7d |SaveConf|ig();..}|
|00000a60| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 4d 65 73 |....func|tion Mes|
|00000a70| 73 61 67 65 42 6f 78 44 | 6f 6e 65 28 55 57 69 6e |sageBoxD|one(UWin|
|00000a80| 64 6f 77 4d 65 73 73 61 | 67 65 42 6f 78 20 57 2c |dowMessa|geBox W,|
|00000a90| 20 4d 65 73 73 61 67 65 | 42 6f 78 52 65 73 75 6c | Message|BoxResul|
|00000aa0| 74 20 52 65 73 75 6c 74 | 29 0d 0a 7b 0d 0a 09 69 |t Result|)..{...i|
|00000ab0| 66 28 57 20 3d 3d 20 43 | 6f 6e 66 69 72 6d 4a 6f |f(W == C|onfirmJo|
|00000ac0| 69 6e 20 26 26 20 52 65 | 73 75 6c 74 20 3d 3d 20 |in && Re|sult == |
|00000ad0| 4d 52 5f 59 65 73 29 0d | 0a 09 7b 0d 0a 09 09 62 |MR_Yes).|..{....b|
|00000ae0| 48 61 73 52 65 61 64 57 | 61 72 6e 69 6e 67 20 3d |HasReadW|arning =|
|00000af0| 20 54 72 75 65 3b 09 09 | 0d 0a 09 09 44 6f 4a 6f | True;..|....DoJo|
|00000b00| 69 6e 28 29 3b 0d 0a 09 | 7d 0d 0a 7d 0d 0a 0d 0a |in();...|}..}....|
|00000b10| 66 75 6e 63 74 69 6f 6e | 20 4e 6f 74 69 66 79 28 |function| Notify(|
|00000b20| 55 57 69 6e 64 6f 77 44 | 69 61 6c 6f 67 43 6f 6e |UWindowD|ialogCon|
|00000b30| 74 72 6f 6c 20 43 2c 20 | 62 79 74 65 20 45 29 0d |trol C, |byte E).|
|00000b40| 0a 7b 0d 0a 09 53 75 70 | 65 72 2e 4e 6f 74 69 66 |.{...Sup|er.Notif|
|00000b50| 79 28 43 2c 20 45 29 3b | 0d 0a 0d 0a 09 69 66 28 |y(C, E);|.....if(|
|00000b60| 43 20 3d 3d 20 43 6f 6e | 6e 65 63 74 42 75 74 74 |C == Con|nectButt|
|00000b70| 6f 6e 20 26 26 20 45 20 | 3d 3d 20 44 45 5f 43 6c |on && E |== DE_Cl|
|00000b80| 69 63 6b 29 0d 0a 09 7b | 0d 0a 09 09 69 66 28 53 |ick)...{|....if(S|
|00000b90| 79 73 74 65 6d 50 61 67 | 65 2e 62 43 6f 6e 6e 65 |ystemPag|e.bConne|
|00000ba0| 63 74 65 64 29 0d 0a 09 | 09 09 53 79 73 74 65 6d |cted)...|..System|
|00000bb0| 50 61 67 65 2e 44 69 73 | 63 6f 6e 6e 65 63 74 28 |Page.Dis|connect(|
|00000bc0| 29 3b 0d 0a 09 09 65 6c | 73 65 0d 0a 09 09 7b 0d |);....el|se....{.|
|00000bd0| 0a 09 09 09 69 66 28 62 | 48 61 73 52 65 61 64 57 |....if(b|HasReadW|
|00000be0| 61 72 6e 69 6e 67 29 0d | 0a 09 09 09 09 44 6f 4a |arning).|.....DoJ|
|00000bf0| 6f 69 6e 28 29 3b 0d 0a | 09 09 09 65 6c 73 65 0d |oin();..|...else.|
|00000c00| 0a 09 09 09 09 43 6f 6e | 66 69 72 6d 4a 6f 69 6e |.....Con|firmJoin|
|00000c10| 20 3d 20 4d 65 73 73 61 | 67 65 42 6f 78 28 57 61 | = Messa|geBox(Wa|
|00000c20| 72 6e 69 6e 67 54 69 74 | 6c 65 2c 20 57 61 72 6e |rningTit|le, Warn|
|00000c30| 69 6e 67 54 65 78 74 2c | 20 4d 42 5f 59 65 73 4e |ingText,| MB_YesN|
|00000c40| 6f 2c 20 4d 52 5f 4e 6f | 29 3b 0d 0a 09 09 7d 0d |o, MR_No|);....}.|
|00000c50| 0a 09 7d 0d 0a 0d 0a 09 | 69 66 28 43 20 3d 3d 20 |..}.....|if(C == |
|00000c60| 43 68 61 6e 6e 65 6c 43 | 6f 6d 62 6f 20 26 26 20 |ChannelC|ombo && |
|00000c70| 45 20 3d 3d 20 44 45 5f | 45 6e 74 65 72 50 72 65 |E == DE_|EnterPre|
|00000c80| 73 73 65 64 29 0d 0a 09 | 7b 0d 0a 09 09 53 79 73 |ssed)...|{....Sys|
|00000c90| 74 65 6d 50 61 67 65 2e | 4a 6f 69 6e 43 68 61 6e |temPage.|JoinChan|
|00000ca0| 6e 65 6c 28 43 68 61 6e | 6e 65 6c 43 6f 6d 62 6f |nel(Chan|nelCombo|
|00000cb0| 2e 47 65 74 56 61 6c 75 | 65 28 29 29 3b 0d 0a 09 |.GetValu|e());...|
|00000cc0| 09 53 61 76 65 43 68 61 | 6e 6e 65 6c 43 6f 6d 62 |.SaveCha|nnelComb|
|00000cd0| 6f 28 29 3b 0d 0a 09 09 | 53 61 76 65 43 6f 6e 66 |o();....|SaveConf|
|00000ce0| 69 67 28 29 3b 0d 0a 09 | 7d 0d 0a 7d 0d 0a 0d 0a |ig();...|}..}....|
|00000cf0| 66 75 6e 63 74 69 6f 6e | 20 4e 65 77 49 52 43 53 |function| NewIRCS|
|00000d00| 65 72 76 65 72 28 73 74 | 72 69 6e 67 20 53 29 0d |erver(st|ring S).|
|00000d10| 0a 7b 0d 0a 09 69 66 28 | 53 65 72 76 65 72 43 6f |.{...if(|ServerCo|
|00000d20| 6d 62 6f 2e 4c 69 73 74 | 2e 49 74 65 6d 73 2e 43 |mbo.List|.Items.C|
|00000d30| 6f 75 6e 74 28 29 20 3d | 3d 20 31 20 26 26 20 53 |ount() =|= 1 && S|
|00000d40| 65 72 76 65 72 43 6f 6d | 62 6f 2e 47 65 74 56 61 |erverCom|bo.GetVa|
|00000d50| 6c 75 65 28 29 20 21 3d | 20 53 29 0d 0a 09 7b 0d |lue() !=| S)...{.|
|00000d60| 0a 09 09 4c 6f 67 28 22 | 52 65 63 65 69 76 65 64 |...Log("|Received|
|00000d70| 20 6e 65 77 20 49 52 43 | 20 73 65 72 76 65 72 20 | new IRC| server |
|00000d80| 66 72 6f 6d 20 55 70 64 | 61 74 65 53 65 72 76 65 |from Upd|ateServe|
|00000d90| 72 3a 20 22 24 53 29 3b | 0d 0a 09 09 53 65 72 76 |r: "$S);|....Serv|
|00000da0| 65 72 43 6f 6d 62 6f 2e | 43 6c 65 61 72 28 29 3b |erCombo.|Clear();|
|00000db0| 0d 0a 09 09 53 65 72 76 | 65 72 43 6f 6d 62 6f 2e |....Serv|erCombo.|
|00000dc0| 41 64 64 49 74 65 6d 28 | 53 29 3b 0d 0a 09 09 53 |AddItem(|S);....S|
|00000dd0| 65 72 76 65 72 43 6f 6d | 62 6f 2e 53 65 74 53 65 |erverCom|bo.SetSe|
|00000de0| 6c 65 63 74 65 64 49 6e | 64 65 78 28 30 29 3b 0d |lectedIn|dex(0);.|
|00000df0| 0a 09 09 53 61 76 65 53 | 65 72 76 65 72 43 6f 6d |...SaveS|erverCom|
|00000e00| 62 6f 28 29 3b 0d 0a 09 | 09 53 61 76 65 43 6f 6e |bo();...|.SaveCon|
|00000e10| 66 69 67 28 29 3b 0d 0a | 09 7d 0d 0a 7d 0d 0a 0d |fig();..|.}..}...|
|00000e20| 0a 66 75 6e 63 74 69 6f | 6e 20 53 61 76 65 53 65 |.functio|n SaveSe|
|00000e30| 72 76 65 72 43 6f 6d 62 | 6f 28 29 0d 0a 7b 0d 0a |rverComb|o()..{..|
|00000e40| 09 6c 6f 63 61 6c 20 55 | 57 69 6e 64 6f 77 43 6f |.local U|WindowCo|
|00000e50| 6d 62 6f 4c 69 73 74 49 | 74 65 6d 20 49 74 65 6d |mboListI|tem Item|
|00000e60| 3b 0d 0a 09 6c 6f 63 61 | 6c 20 69 6e 74 20 69 3b |;...loca|l int i;|
|00000e70| 0d 0a 0d 0a 09 53 65 72 | 76 65 72 43 6f 6d 62 6f |.....Ser|verCombo|
|00000e80| 2e 52 65 6d 6f 76 65 49 | 74 65 6d 28 53 65 72 76 |.RemoveI|tem(Serv|
|00000e90| 65 72 43 6f 6d 62 6f 2e | 46 69 6e 64 49 74 65 6d |erCombo.|FindItem|
|00000ea0| 49 6e 64 65 78 28 53 65 | 72 76 65 72 43 6f 6d 62 |Index(Se|rverComb|
|00000eb0| 6f 2e 47 65 74 56 61 6c | 75 65 28 29 29 29 3b 0d |o.GetVal|ue()));.|
|00000ec0| 0a 09 53 65 72 76 65 72 | 43 6f 6d 62 6f 2e 49 6e |..Server|Combo.In|
|00000ed0| 73 65 72 74 49 74 65 6d | 28 53 65 72 76 65 72 43 |sertItem|(ServerC|
|00000ee0| 6f 6d 62 6f 2e 47 65 74 | 56 61 6c 75 65 28 29 29 |ombo.Get|Value())|
|00000ef0| 3b 0d 0a 09 77 68 69 6c | 65 28 53 65 72 76 65 72 |;...whil|e(Server|
|00000f00| 43 6f 6d 62 6f 2e 4c 69 | 73 74 2e 49 74 65 6d 73 |Combo.Li|st.Items|
|00000f10| 2e 43 6f 75 6e 74 28 29 | 20 3e 20 31 30 29 0d 0a |.Count()| > 10)..|
|00000f20| 09 09 53 65 72 76 65 72 | 43 6f 6d 62 6f 2e 4c 69 |..Server|Combo.Li|
|00000f30| 73 74 2e 49 74 65 6d 73 | 2e 4c 61 73 74 2e 52 65 |st.Items|.Last.Re|
|00000f40| 6d 6f 76 65 28 29 3b 0d | 0a 0d 0a 09 49 74 65 6d |move();.|....Item|
|00000f50| 20 3d 20 55 57 69 6e 64 | 6f 77 43 6f 6d 62 6f 4c | = UWind|owComboL|
|00000f60| 69 73 74 49 74 65 6d 28 | 53 65 72 76 65 72 43 6f |istItem(|ServerCo|
|00000f70| 6d 62 6f 2e 4c 69 73 74 | 2e 49 74 65 6d 73 2e 4e |mbo.List|.Items.N|
|00000f80| 65 78 74 29 3b 0d 0a 09 | 66 6f 72 20 28 69 3d 30 |ext);...|for (i=0|
|00000f90| 3b 20 69 3c 31 30 3b 20 | 69 2b 2b 29 0d 0a 09 7b |; i<10; |i++)...{|
|00000fa0| 0d 0a 09 09 69 66 28 49 | 74 65 6d 20 21 3d 20 4e |....if(I|tem != N|
|00000fb0| 6f 6e 65 29 0d 0a 09 09 | 7b 0d 0a 09 09 09 49 52 |one)....|{.....IR|
|00000fc0| 43 53 65 72 76 65 72 48 | 69 73 74 6f 72 79 5b 69 |CServerH|istory[i|
|00000fd0| 5d 20 3d 20 49 74 65 6d | 2e 56 61 6c 75 65 3b 0d |] = Item|.Value;.|
|00000fe0| 0a 09 09 09 49 74 65 6d | 20 3d 20 55 57 69 6e 64 |....Item| = UWind|
|00000ff0| 6f 77 43 6f 6d 62 6f 4c | 69 73 74 49 74 65 6d 28 |owComboL|istItem(|
|00001000| 49 74 65 6d 2e 4e 65 78 | 74 29 3b 0d 0a 09 09 7d |Item.Nex|t);....}|
|00001010| 0d 0a 09 09 65 6c 73 65 | 0d 0a 09 09 09 49 52 43 |....else|.....IRC|
|00001020| 53 65 72 76 65 72 48 69 | 73 74 6f 72 79 5b 69 5d |ServerHi|story[i]|
|00001030| 20 3d 20 22 22 3b 0d 0a | 09 7d 09 09 09 0d 0a 7d | = "";..|.}.....}|
|00001040| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 53 61 76 |....func|tion Sav|
|00001050| 65 43 68 61 6e 6e 65 6c | 43 6f 6d 62 6f 28 29 0d |eChannel|Combo().|
|00001060| 0a 7b 0d 0a 09 6c 6f 63 | 61 6c 20 55 57 69 6e 64 |.{...loc|al UWind|
|00001070| 6f 77 43 6f 6d 62 6f 4c | 69 73 74 49 74 65 6d 20 |owComboL|istItem |
|00001080| 49 74 65 6d 3b 0d 0a 09 | 6c 6f 63 61 6c 20 69 6e |Item;...|local in|
|00001090| 74 20 69 3b 0d 0a 0d 0a | 09 43 68 61 6e 6e 65 6c |t i;....|.Channel|
|000010a0| 43 6f 6d 62 6f 2e 52 65 | 6d 6f 76 65 49 74 65 6d |Combo.Re|moveItem|
|000010b0| 28 43 68 61 6e 6e 65 6c | 43 6f 6d 62 6f 2e 46 69 |(Channel|Combo.Fi|
|000010c0| 6e 64 49 74 65 6d 49 6e | 64 65 78 28 43 68 61 6e |ndItemIn|dex(Chan|
|000010d0| 6e 65 6c 43 6f 6d 62 6f | 2e 47 65 74 56 61 6c 75 |nelCombo|.GetValu|
|000010e0| 65 28 29 29 29 3b 0d 0a | 09 43 68 61 6e 6e 65 6c |e()));..|.Channel|
|000010f0| 43 6f 6d 62 6f 2e 49 6e | 73 65 72 74 49 74 65 6d |Combo.In|sertItem|
|00001100| 28 43 68 61 6e 6e 65 6c | 43 6f 6d 62 6f 2e 47 65 |(Channel|Combo.Ge|
|00001110| 74 56 61 6c 75 65 28 29 | 29 3b 0d 0a 09 77 68 69 |tValue()|);...whi|
|00001120| 6c 65 28 43 68 61 6e 6e | 65 6c 43 6f 6d 62 6f 2e |le(Chann|elCombo.|
|00001130| 4c 69 73 74 2e 49 74 65 | 6d 73 2e 43 6f 75 6e 74 |List.Ite|ms.Count|
|00001140| 28 29 20 3e 20 31 30 29 | 0d 0a 09 09 43 68 61 6e |() > 10)|....Chan|
|00001150| 6e 65 6c 43 6f 6d 62 6f | 2e 4c 69 73 74 2e 49 74 |nelCombo|.List.It|
|00001160| 65 6d 73 2e 4c 61 73 74 | 2e 52 65 6d 6f 76 65 28 |ems.Last|.Remove(|
|00001170| 29 3b 0d 0a 0d 0a 09 49 | 74 65 6d 20 3d 20 55 57 |);.....I|tem = UW|
|00001180| 69 6e 64 6f 77 43 6f 6d | 62 6f 4c 69 73 74 49 74 |indowCom|boListIt|
|00001190| 65 6d 28 43 68 61 6e 6e | 65 6c 43 6f 6d 62 6f 2e |em(Chann|elCombo.|
|000011a0| 4c 69 73 74 2e 49 74 65 | 6d 73 2e 4e 65 78 74 29 |List.Ite|ms.Next)|
|000011b0| 3b 0d 0a 09 66 6f 72 20 | 28 69 3d 30 3b 20 69 3c |;...for |(i=0; i<|
|000011c0| 31 30 3b 20 69 2b 2b 29 | 0d 0a 09 7b 0d 0a 09 09 |10; i++)|...{....|
|000011d0| 69 66 28 49 74 65 6d 20 | 21 3d 20 4e 6f 6e 65 29 |if(Item |!= None)|
|000011e0| 0d 0a 09 09 7b 0d 0a 09 | 09 09 49 52 43 43 68 61 |....{...|..IRCCha|
|000011f0| 6e 6e 65 6c 48 69 73 74 | 6f 72 79 5b 69 5d 20 3d |nnelHist|ory[i] =|
|00001200| 20 49 74 65 6d 2e 56 61 | 6c 75 65 3b 0d 0a 09 09 | Item.Va|lue;....|
|00001210| 09 49 74 65 6d 20 3d 20 | 55 57 69 6e 64 6f 77 43 |.Item = |UWindowC|
|00001220| 6f 6d 62 6f 4c 69 73 74 | 49 74 65 6d 28 49 74 65 |omboList|Item(Ite|
|00001230| 6d 2e 4e 65 78 74 29 3b | 0d 0a 09 09 7d 0d 0a 09 |m.Next);|....}...|
|00001240| 09 65 6c 73 65 0d 0a 09 | 09 09 49 52 43 43 68 61 |.else...|..IRCCha|
|00001250| 6e 6e 65 6c 48 69 73 74 | 6f 72 79 5b 69 5d 20 3d |nnelHist|ory[i] =|
|00001260| 20 22 22 3b 0d 0a 09 7d | 09 09 09 0d 0a 7d 0d 0a | "";...}|.....}..|
|00001270| 0d 0a 00 | |... | |
+--------+-------------------------+-------------------------+--------+--------+